import QtQuick 2.15
import QtQuick.Controls 2.15
import SutoDisplay 1.0

Rectangle {
    id: statu_sbar
    implicitHeight: 60
    implicitWidth: 1024
    color: "#FFE000"
    anchors.fill: parent
    property Component logobutton

    signal logoClickS()

    Loader {
        objectName:"menu"
        id: logoButton
        x:0
        y:0
        height: 60
        width: 200
        sourceComponent: logobutton

    }
    Popup{
        id:timeset
        x:150
        y:70
        width: 100
        height: 100
        TimeSetForm{
        }
    }
    TimeButton {
        objectName:"DataTime"
        id: time_button
        anchors.right: parent.right
        onClicked: {
//            timeset.open()
        }
    }

    StatusModel{
        id:statusmodel
    }

    Row {
        objectName: "StatusArea"
        height: 60
        anchors.right: time_button.left
        anchors.left: logoButton.right
        layoutDirection: Qt.RightToLeft


        Repeater{
            id:statusrepeater
            model: statusmodel
            StatusIcon{
                imgpath: imgPATH+imagepath
                text1L: text1
                text2L:text2
                text1LShow:text1Show
                text2LShow: text2Show
            }
        }

    }

}


/*##^##
Designer {
    D{i:0;autoSize:true;formeditorZoom:0.75;height:480;width:640}
}
##^##*/
